package com.ym.medical.service;

import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.medical.domain.entity.DsAdviseRecordEntity;

import java.util.List;

/**
 * Redis保存全部待抢订单：
1、推荐给全科医生抢单时，全科医生刷新页面获取订单，待全科医生抢单成功，插入工Service接口
 *
 * @author ym
 * @date 2020-09-14
 */
public interface IDsAdviseRecordSV extends IBaseSV<DsAdviseRecordEntity> {

	/**
	 * 保存专科医生推荐记录
	 *
	 * @param orderId            订单ID
	 * @param doctorId           被推荐的医生数组
	 * @param currId             当前医生id
	 * @param currDoctorStudioId 当前医生工作室ID
	 * @return
	 */
	List<Long> saveDoctorAdvise(Long orderId, Long[] doctorId, Long currId, Long currDoctorStudioId);
}
